package com.app.model.aspect;

import java.io.Serializable;

/**
 * Created by Lichaojie on 2017/8/10. It's a beautiful day.
 */
public class OperatorLog implements Serializable{

    private String beanName;
    private String curUser;
    private String methodName;
    private String params;
    private String remoteAddr;
    private String sessionId;
    private String uri;
    private long requestTime;//请求开始时间
    private long duration;//请求持续时间
    private String result;

    public String getBeanName() {
        return beanName;
    }

    public OperatorLog setBeanName(String beanName) {
        this.beanName = beanName;
        return this;
    }

    public String getCurUser() {
        return curUser;
    }

    public OperatorLog setCurUser(String curUser) {
        this.curUser = curUser;
        return this;
    }

    public String getMethodName() {
        return methodName;
    }

    public OperatorLog setMethodName(String methodName) {
        this.methodName = methodName;
        return this;
    }

    public String getParams() {
        return params;
    }

    public OperatorLog setParams(String params) {
        this.params = params;
        return this;
    }

    public String getRemoteAddr() {
        return remoteAddr;
    }

    public OperatorLog setRemoteAddr(String remoteAddr) {
        this.remoteAddr = remoteAddr;
        return this;
    }

    public String getSessionId() {
        return sessionId;
    }

    public OperatorLog setSessionId(String sessionId) {
        this.sessionId = sessionId;
        return this;
    }

    public String getUri() {
        return uri;
    }

    public OperatorLog setUri(String uri) {
        this.uri = uri;
        return this;
    }

    public long getRequestTime() {
        return requestTime;
    }

    public OperatorLog setRequestTime(long requestTime) {
        this.requestTime = requestTime;
        return this;
    }

    public long getDuration() {
        return duration;
    }

    public OperatorLog setDuration(long duration) {
        this.duration = duration;
        return this;
    }

    public String getResult() {
        return result;
    }

    public OperatorLog setResult(String result) {
        this.result = result;
        return this;
    }

    private static final long serialVersionUID = 520L;
}
